import 'package:flutter/material.dart';


class OperationItem  extends StatelessWidget {
  Widget _icon;
  String title;

  OperationItem(this._icon,this.title);

  @override
  Widget build(BuildContext context) {
    //style: Theme.of(context).textTheme.body1 默认情况下为body1 所以可以不写
    return Container(
      width: 90,
      child: Row(
        children: <Widget>[
          _icon,
          SizedBox(width:3),
          Text(title)
        ],
      ),
    );
  }
}
